define(['config/appregister','jquery'],function(app){
    app.directive("comSelect",function(){
        return {
            templateUrl:"app/business/engDepartment/template/comSelect.html",
            link:function(scope,element,attrs){
            	console.log($('.company-place').find('dl'))
            	$('.placeTags span').click(function(){
            		console.log($('.placeTags span'))
            		$('.placeTags span').addClass('active').siblings().removeClass('active');
            	})
            }
        }
    })
})